package org.szy.core.common.entity;

import java.io.Serializable;

/**
 * 登录用户基础信息
 *
 * @author 孙志阳
 * @date 2023-06-30
 * @since 1.0.0
 **/
public class LoginUserMini implements Serializable {


    /**
     * 用户名id
     */
    private Object userId;

    /**
     * 用户名/登录名
     */
    private String userName;

    /**
     * 设备标识 PC/APP/H5/WX
     */
    private String device;

    /**
     * 用户类型
     */
    private String userType;

    /**
     * 展示名/实际名
     */
    private String name = "佚名";

    /**
     * 用户头像
     */
    private String avatar;

    public Object getUserId() {
        return userId;
    }

    public void setUserId(Object userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
